{% extends "pc/layout.html" %} {% block content %}
<link rel="stylesheet" href="/css/pc/book.min.css" />
<div id="book">
  <ul>
    {% for book in bookList %}
    <a href="#">
      <li>
        <img src="{{book.img}}" alt="" />
        <div class="info">
          <p class="content-title">{{book.title}}</p>
          <span class="time"
            >{{book.createdAt.toLocaleString('zh-CN',{year:'numeric',month:'2-digit',day:'2-digit',hour12:false,hour:'2-digit',minute:'2-digit',second:'2-digit'})
            }}</span
          >
          <a href="/chapter/{{book.id}}"><button class="start">阅读</button></a>

        </div>
      </li>
    </a>
    {% endfor %}
  </ul>
</div>
{% include "pc/aside.html" %} {% endblock %}
